package com.controller;

import javax.servlet.ServletContext;

public class MyAppInit1 implements MyAppInitializer {
    @Override
    public void onBegin(ServletContext sc) {
        System.out.println("------my app init 1");
        sc.addServlet("two", "com.controller.SecondServlet").addMapping("/second");
    }
}
